package cn.newstrength.shangyujie.step;

import cn.newstrength.wtdf.web.exception.PAIException;
import cn.newstrength.wtdf.web.processor.Operation;
import cn.newstrength.wtdf.web.processor.OperationStep;
import cn.newstrength.wtdf.web.util.StepUtils;

import java.util.Map;

public class DuplicateSubmitStep implements OperationStep {

	@Override
	public int excute(Operation oper) throws PAIException {
		//获取表单数据
		Map<String, Object> input = StepUtils.getInputValue(oper,oper.getMapSet());
		//测试存储
		oper.setTranStepSuccResult(input);
		return 0;
	}

	@Override
	public int init(Map<String, String> param) {
		// TODO Auto-generated method stub
		return 0;
	}

}
